-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
replace k&r function declarations with ANSI declarations #114818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I think this probably doesn't require issue / news entry, since it's just a minor internal cleanup. Let me know if it's needed though and I can create them. |
This is required for c23 which removes support for K&R function declarations |
Beware, PR's with only code formatting changes are usually rejected, see https://devguide.python.org/getting-started/pull-request-lifecycle/#making-good-prs |
In this specific case this is required for compilation with C23 since K&R functions have been removed (up to C23 they are deprecated). |
This comment was marked as resolved.
This comment was marked as resolved.
Merged, thank you. |
This replaces the only three occurrences of K&R style function declaration with the ANSI notation used everywhere else in the code base. This is required to compile with C23 since K&R style functions declarations got removed in C23.